// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import store from './store';
import router from './router';
import '@/permission' // permission control
import '@/styles/index.scss' ;// global css
// 引入svg
import '@/icons'
// ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

ElementUI.Dialog.props.closeOnClickModal.default = false

Vue.config.productionTip = false

import {download} from "@/utils/index";
Vue.prototype.download = download

import LemonIMUI from 'lemon-imui'
Vue.use(LemonIMUI)
import 'lemon-imui/dist/index.css';

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
